<?php

class Default_IndexController extends Zend_Controller_Action
{
    public function indexAction()
    {
        $debate = new Debate();
        $this->view->debates = $debate->search(
            array(
                'perpage' => 6,
                'order' => array('id DESC')
            )
        );
    }
}

